Optimal. Leaf size=167 \[ -\frac{b^2 c \sqrt{c^2 x^2+1} \text{PolyLog}\left (2,e^{-2 \sinh ^{-1}(c x)}\right )}{\sqrt{c^2 d x^2+d}}-\frac{\sqrt{c^2 d x^2+d} \left (a+b \sinh ^{-1}(c x)\right )^2}{d x}+\frac{c \sqrt{c^2 x^2+1} \left (a+b \sinh ^{-1}(c x)\right )^2}{\sqrt{c^2 d x^2+d}}+\frac{2 b c \sqrt{c^2 x^2+1} \log \left (1-e^{-2 \sinh ^{-1}(c x)}\right ) \left (a+b \sinh ^{-1}(c x)\right )}{\sqrt{c^2 d x^2+d}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.226659, antiderivative size = 167, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {5723, 5659, 3716, 2190, 2279, 2391} \[ \frac{b^2 c \sqrt{c^2 x^2+1} \text{PolyLog}\left (2,e^{2 \sinh ^{-1}(c x)}\right )}{\sqrt{c^2 d x^2+d}}-\frac{\sqrt{c^2 d x^2+d} \left (a+b \sinh ^{-1}(c x)\right )^2}{d x}-\frac{c \sqrt{c^2 x^2+1} \left (a+b \sinh ^{-1}(c x)\right )^2}{\sqrt{c^2 d x^2+d}}+\frac{2 b c \sqrt{c^2 x^2+1} \log \left (1-e^{2 \sinh ^{-1}(c x)}\right ) \left (a+b \sinh ^{-1}(c x)\right )}{\sqrt{c^2 d x^2+d}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 5723
Rule 5659
Rule 3716
Rule 2190
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int \frac{\left (a+b \sinh ^{-1}(c x)\right )^2}{x^2 \sqrt{d+c^2 d x^2}} \, dx &=-\frac{\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^2}{d x}+\frac{\left (2 b c \sqrt{1+c^2 x^2}\right ) \int \frac{a+b \sinh ^{-1}(c x)}{x} \, dx}{\sqrt{d+c^2 d x^2}}\\ &=-\frac{\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^2}{d x}+\frac{\left (2 b c \sqrt{1+c^2 x^2}\right ) \operatorname{Subst}\left (\int (a+b x) \coth (x) \, dx,x,\sinh ^{-1}(c x)\right )}{\sqrt{d+c^2 d x^2}}\\ &=-\frac{c \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )^2}{\sqrt{d+c^2 d x^2}}-\frac{\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^2}{d x}-\frac{\left (4 b c \sqrt{1+c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{e^{2 x} (a+b x)}{1-e^{2 x}} \, dx,x,\sinh ^{-1}(c x)\right )}{\sqrt{d+c^2 d x^2}}\\ &=-\frac{c \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )^2}{\sqrt{d+c^2 d x^2}}-\frac{\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^2}{d x}+\frac{2 b c \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right ) \log \left (1-e^{2 \sinh ^{-1}(c x)}\right )}{\sqrt{d+c^2 d x^2}}-\frac{\left (2 b^2 c \sqrt{1+c^2 x^2}\right ) \operatorname{Subst}\left (\int \log \left (1-e^{2 x}\right ) \, dx,x,\sinh ^{-1}(c x)\right )}{\sqrt{d+c^2 d x^2}}\\ &=-\frac{c \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )^2}{\sqrt{d+c^2 d x^2}}-\frac{\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^2}{d x}+\frac{2 b c \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right ) \log \left (1-e^{2 \sinh ^{-1}(c x)}\right )}{\sqrt{d+c^2 d x^2}}-\frac{\left (b^2 c \sqrt{1+c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\log (1-x)}{x} \, dx,x,e^{2 \sinh ^{-1}(c x)}\right )}{\sqrt{d+c^2 d x^2}}\\ &=-\frac{c \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )^2}{\sqrt{d+c^2 d x^2}}-\frac{\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^2}{d x}+\frac{2 b c \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right ) \log \left (1-e^{2 \sinh ^{-1}(c x)}\right )}{\sqrt{d+c^2 d x^2}}+\frac{b^2 c \sqrt{1+c^2 x^2} \text{Li}_2\left (e^{2 \sinh ^{-1}(c x)}\right )}{\sqrt{d+c^2 d x^2}}\\ \end{align*}
Mathematica [A] time = 0.449452, size = 168, normalized size = 1.01 \[ \frac{-b^2 c x \sqrt{c^2 x^2+1} \text{PolyLog}\left (2,e^{-2 \sinh ^{-1}(c x)}\right )-a \left (a c^2 x^2+a-2 b c x \sqrt{c^2 x^2+1} \log (c x)\right )-2 b \sinh ^{-1}(c x) \left (a c^2 x^2+a-b c x \sqrt{c^2 x^2+1} \log \left (1-e^{-2 \sinh ^{-1}(c x)}\right )\right )+b^2 \left (-c^2 x^2+c x \sqrt{c^2 x^2+1}-1\right ) \sinh ^{-1}(c x)^2}{x \sqrt{c^2 d x^2+d}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.219, size = 526, normalized size = 3.2 \begin{align*} -{\frac{{a}^{2}}{dx}\sqrt{{c}^{2}d{x}^{2}+d}}-{\frac{{b}^{2} \left ({\it Arcsinh} \left ( cx \right ) \right ) ^{2}x{c}^{2}}{d \left ({c}^{2}{x}^{2}+1 \right ) }\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }}-{\frac{{b}^{2} \left ({\it Arcsinh} \left ( cx \right ) \right ) ^{2}c}{d}\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }{\frac{1}{\sqrt{{c}^{2}{x}^{2}+1}}}}-{\frac{{b}^{2} \left ({\it Arcsinh} \left ( cx \right ) \right ) ^{2}}{xd \left ({c}^{2}{x}^{2}+1 \right ) }\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }}+2\,{\frac{{b}^{2}\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }{\it Arcsinh} \left ( cx \right ) \ln \left ( 1+cx+\sqrt{{c}^{2}{x}^{2}+1} \right ) c}{\sqrt{{c}^{2}{x}^{2}+1}d}}+2\,{\frac{{b}^{2}\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }{\it polylog} \left ( 2,-cx-\sqrt{{c}^{2}{x}^{2}+1} \right ) c}{\sqrt{{c}^{2}{x}^{2}+1}d}}+2\,{\frac{{b}^{2}\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }{\it Arcsinh} \left ( cx \right ) \ln \left ( 1-cx-\sqrt{{c}^{2}{x}^{2}+1} \right ) c}{\sqrt{{c}^{2}{x}^{2}+1}d}}+2\,{\frac{{b}^{2}\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }{\it polylog} \left ( 2,cx+\sqrt{{c}^{2}{x}^{2}+1} \right ) c}{\sqrt{{c}^{2}{x}^{2}+1}d}}-2\,{\frac{ab\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }{\it Arcsinh} \left ( cx \right ) c}{\sqrt{{c}^{2}{x}^{2}+1}d}}-2\,{\frac{ab\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }{\it Arcsinh} \left ( cx \right ) x{c}^{2}}{d \left ({c}^{2}{x}^{2}+1 \right ) }}-2\,{\frac{ab\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }{\it Arcsinh} \left ( cx \right ) }{xd \left ({c}^{2}{x}^{2}+1 \right ) }}+2\,{\frac{ab\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }\ln \left ( \left ( cx+\sqrt{{c}^{2}{x}^{2}+1} \right ) ^{2}-1 \right ) c}{\sqrt{{c}^{2}{x}^{2}+1}d}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{c^{2} d x^{2} + d}{\left (b^{2} \operatorname{arsinh}\left (c x\right )^{2} + 2 \, a b \operatorname{arsinh}\left (c x\right ) + a^{2}\right )}}{c^{2} d x^{4} + d x^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \operatorname{asinh}{\left (c x \right )}\right )^{2}}{x^{2} \sqrt{d \left (c^{2} x^{2} + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \operatorname{arsinh}\left (c x\right ) + a\right )}^{2}}{\sqrt{c^{2} d x^{2} + d} x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]